

def even_num():
    num1=int(input("请输入数字1："))
    num2=int(input("请输入数字2："))
    num3=list(range(num1,num2+1))
    even=[x for x in num3 if x % 2 ==0]
    sum_=sum(even)
    print(sum_)
if __name__ == '__main__':
    even_num()  